package com.itheima.d04_define_exception.exception;

/**
 * 自定义运行时业务异常，
 */
public class UsernameAlreadyExistsException extends RuntimeException{

    //封装异常信息
    public UsernameAlreadyExistsException(String message) {
        super(message);
    }

    public UsernameAlreadyExistsException() {
    }
}
